package com.von.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author xiaosai
 * @version 1.0
 * @date 2021/7/16 11:34
 * @describe 前端页面-控制器
 * @className
 */
@Controller
@RequestMapping("/naodong")
public class FrontController {
    /**
     * 首页
     * @param model
     * @return
     */
    @GetMapping("/index")
    public String index(Model model){
        return "index";
    }
}
